package pers.vic.practice.module.student.mapper;

import org.apache.ibatis.annotations.Param;
import pers.vic.boot.base.mapper.BaseMapper;
import pers.vic.practice.module.student.model.SCourseSelection;
/**
 * @description:选课表 Mapper
 * @author Vic.xu
 * @date: 2022-04-12 09:56
 */
public interface SCourseSelectionMapper extends BaseMapper<SCourseSelection> {

    boolean checkRepeat(@Param("id") Integer id, @Param("courseId") Integer courseId, @Param("number") String number);

    int saveClasses(@Param("classesId") Integer classesId, @Param("courseId")Integer courseId);
}
